package cn.dansj.common.request.annotation.permission;

import cn.dansj.common.utils.enums.BooleanType;
import cn.dansj.common.utils.enums.UserType;

import java.lang.annotation.*;

@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface Permission {
    BooleanType value() default BooleanType.TRUE;

    UserType userType() default UserType.NONE;
}
